export default {
	// 标题
	title: String,
	// 宽度
	width: {
		type: String,
		default: "80%"
	},
	padding:{
		type: [String, Number,Array],
		default: () => [20, 30]
	},
	// 背景颜色
	background: {
		type: String,
		default: "#fff",
	},
	// 点击遮罩层是否关闭
	modalClose: {
		type: Boolean,
		default: true
	},
	// 关闭前回调
	beforeClose: Function,
	// 显示取消确认按钮
	showConfirm: {
		type: Boolean,
		default: true
	},
	cancelButtonText: {
		type: String,
		default: "取消"
	},
	confirmButtonText: {
		type: String,
		default: "确认"
	},
	showCancelButton: {
		type: Boolean,
		default: true
	},
	showConfirmButton: {
		type: Boolean,
		default: true
	},
	confirmColor: {
		type: String,
		default: ''
	},
	// 开放能力，具体请看uniapp稳定关于button组件部分说明
	// https://uniapp.dcloud.io/component/button
	openType: {
		type: String,
		default: ''
	},
	// 显示关闭按钮
	showCloseButton: Boolean
}